//请求方法
function send(url,params,success,error){
    $.ajax({
        type: 'POST',
        beforeSend: function(xhr) {
            xhr.setRequestHeader("access_token");
        },
        headers: {
            'access_token':$.cookie('access_token')
        },
        data: params,
        url: url,
        dataType: 'json',
        contentType: 'application/x-www-form-urlencoded',
        cache:false,
        async:false,
        success: success,
        error: error
    });
}